<?php

/**
 * Configurações de acesso à base de dados
 *
 * @author hyzandey
 */
class DbConfig {

    private $dbName;
    private $userName;
    private $password;
    private $host;
    private $port;
    private $connString;

    public function __construct() {

        $this->dbName = 'relatorios-sge';
        $this->userName = 'relatorios-sge';
        $this->password = '12345678';
        $this->host = '10.221.37.134';
        $this->port = '5432';

        $this->connString =
                "host=$this->host port=$this->port dbname=$this->dbName"
                . " user=$this->userName password=$this->password";
    }

    public function getConnString() {
        return $this->connString;
    }

}

?>
